package com.lyfx.ly.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lyfx.common.utils.PageUtils;
import com.lyfx.ly.entity.ClassCategoryEntity;
import com.lyfx.ly.vo.CatelogVo;

import java.util.List;
import java.util.Map;

/**
 * **课程分类表**
 *
 * @author lsy
 * @email lsy@gmail.com
 * @date 2020-07-05 18:04:00
 */
public interface ClassCategoryService extends IService<ClassCategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<ClassCategoryEntity> listWithTree();

    void removeMenuByids(List<Long> asList);

    Long[] findCategoryPath(Long categoryId);

    void updateCascade(ClassCategoryEntity classCategory);


    List<CatelogVo> getLevelCategorys();
}

